﻿using System;
using System.Configuration;

namespace NDBGen.Configuration
{
    public class SchemaDatabaseOutputElement : ProjectManagedEntryConfigurationElement
    {
        const String PROPNAME_FILES = "files";
        [ConfigurationCollection(typeof(SchemaDatabaseOutputFileElement))]
        [ConfigurationProperty(PROPNAME_FILES, IsRequired = true)]
        public GenericElementCollection<SchemaDatabaseOutputFileElement> Files
        {
            get { return (GenericElementCollection<SchemaDatabaseOutputFileElement>)this[PROPNAME_FILES]; }
            set { this[PROPNAME_FILES] = value; }
        }
    }
}